with open('python/chapter10/guest_book.txt', 'w') as file_object:
    while (1):
        name = input('Please input your name!\n')
        gald_str = f"Welcome {name}\n"
        file_object.write(gald_str)